home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.app.ApplicationPreferences;
- import com.extensibility.app.UI;
- import java.util.Hashtable;
-
- public class XAPreferences extends ApplicationPreferences {
- public static final String DEFAULT_SCHEMA_FLAVOR = "DEFAULT.SCHEMA.FLAVOR";
-
- public boolean getShowOverview() {
- return ((ApplicationPreferences)this).getShowLeftPane();
- }
-
- public void updateShowOverview(boolean var1) {
- ((ApplicationPreferences)this).updateShowLeftPane(var1);
- }
-
- public boolean getShowComment() {
- return ((ApplicationPreferences)this).getShowBottomPane();
- }
-
- public void updateShowComment(boolean var1) {
- ((ApplicationPreferences)this).updateShowBottomPane(var1);
- }
-
- public String getDefaultFileType() {
- return this.getDefaultSchemaFlavor();
- }
-
- public void updateDefaultFileType(String var1) {
- this.updateDefaultSchemaFlavor(var1);
- }
-
- public String getDefaultSchemaFlavor() {
- String var1 = (String)((Hashtable)this).get("DEFAULT.SCHEMA.FLAVOR");
- if (var1 == null) {
- var1 = UI.getString("com.extensibility.xa.schema.defaultflavor");
- }
-
- return var1;
- }
-
- public void updateDefaultSchemaFlavor(String var1) {
- ((Hashtable)this).put("DEFAULT.SCHEMA.FLAVOR", var1);
- }
- }
-